package com.justgame.project.service.api.entity;

import com.justgame.project.cloud.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.URL;


@Data
@EqualsAndHashCode(callSuper = true)
public class JustGameAddition extends BaseEntity {

    private String gameInfoId;

    /**
     * 附加资源类型（1图片 2视频 ）
     */
    private Integer type;

    @URL
    @Length(max = 200)
    private String url;

}
